package org.sample.entity;

import org.sample.entity.enums.CheckState;

import javax.persistence.Column;
import javax.persistence.Entity;


/**
 * Created by Alan on 2016/10/1.
 */
@Entity
public class Advert extends BaseBO {

    private String title;
    private String imageUrl;
    private String linkUrl;
    private CheckState checkState;

    @Column(name = "title")
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Column(name = "image_url")
    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Column(name = "link_url")
    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    @Column(name = "check_state")
    public CheckState getCheckState() {
        return checkState;
    }

    public void setCheckState(CheckState checkState) {
        this.checkState = checkState;
    }

}
